import request from '../request'
import {apiUrl} from '../requestUrl'
// import requestParam from '../requestParam'
// import isInteger from 'lodash/isInteger'

// 获取文章列表
export function list (query) {
  return request({
    url: apiUrl('/rest/post/query'),
    method: 'post',
    data: query
  })
}
